<?php
class Registration extends AppModel{

	var $name = 'Registration';

	var $validate = array(
		'unit' => VALID_NOT_EMPTY
	);

	var $belongsTo = array(
		'User' => array(
			'className' => 'User',
			'foreignKey'	=> 'user_id'
		),
		'EventDate' => array(
			'className' => 'EventDate',
			'foreignKey'	=> 'event_date_id'
		)
	);

}
?>

